<template>
  
    <router-view></router-view>
</template>

<script >
import { onMounted } from 'vue';
import { useRouter } from 'vue-router';

export default {


  /* eslint-disable */
  name: 'Home',
  props: {
    msg: String
  },
  setup(){
    const router = useRouter(); // 获取路由实例
    onMounted(()=>{
     // router.push("/menu")
    })

    
  },
  data() {
   
    return {
      themeVars: {
        gridItemContentBackground: '#7c78d', // 这里替换成你想要的颜色
      },
    };
  }

}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
:deep(.van-grid-item__content) {
  background-color: #7c78d4; /* 设置你想要的颜色 */
}
</style>
